<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title>请求参数输入页面</title>
</head>
<body bgcolor="#ffffff">
<h1>
请求输入页面
</h1>
<form action="requestDemo1.jsp"method="POST">
 <table border="1">
  <tr>
   <td>用户名:</td>
   <td><input type="text" name="name"/></td>
  </tr>
  <tr>
   <td>性别：</td>
   <td>
   <input type="radio" name="sex" value="男"/>男
   <input type="radio" name="sex" value="女"/>女
  </td>
  </tr>
  <tr>
    <td>兴趣爱好:</td>
    <td>
    <input type="checkbox" name="interest" value="上网"/>上网
    <input type="checkbox" name="interest" value="旅游"/>旅游
    <input type="checkbox" name="interest" value="阅读"/>阅读
 </td>
 </tr>
 </table>
 <input type="submit" name="submit" value="提交"/>
 </form>
 </body>
 </html>       
